package com.software.comment.clients;

import com.software.comment.pojo.Comment;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 86153
 * @version 1.0
 * @since 2025/4/1 16:49
 */
@FeignClient("comment-service")
public interface CommentClient {
    @GetMapping("/comments/{taskId}")
    Comment findById(@PathVariable("taskId") Long taskId);
}
